<template>
  <div class="container">
    个人中心
     <br>
    <input type="text" v-model="num">
    <br>
    <button @click="add">加100</button>
    <button @click="remove">减100</button>
  </div>
</template>

<script>
export default {
  name: 'HomeIndex',

  data () {
    return {
      num: 100
    }
  },

  methods: {
    add () {
      this.num += 100
    },
    remove () {
      this.num -= 100
    }
  }
}
</script>

<style lang="scss" scoped>

</style>
